home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / network / admin / xinetd.2 / xinetd / xinetd.2.1.7-linux.4 / libs / src / pq / pq.h < prev   
Encoding:
C/C++ Source or Header  |  1993-07-25  |  686 b   |  45 lines

  1. /*
  2.  * (c) Copyright 1993 by Panagiotis Tsirigotis
  3.  * All rights reserved.  The file named COPYRIGHT specifies the terms 
  4.  * and conditions for redistribution.
  5.  */
  6.  
  7. #ifndef __PQ_H
  8. #define __PQ_H
  9.  
  10. /*
  11.  * $Id: pq.h,v 1.4 1993/04/01 02:14:52 panos Exp $
  12.  */
  13.  
  14. /*
  15.  * Return values
  16.  */
  17. #define PQ_OK            0
  18. #define PQ_ERR            (-1)
  19.  
  20. extern int pq_errno ;
  21.  
  22. /*
  23.  * pq_errno values
  24.  */
  25. #define PQ_ENOERROR                0
  26. #define PQ_ENOFUNC                1
  27. #define PQ_ENOMEM                    2
  28. #define PQ_ENULLOBJECT            3
  29. #define PQ_ENOTFOUND                4
  30. #define PQ_ENOTSUPPORTED        5
  31.  
  32. /*
  33.  * flag values
  34.  */
  35. #define PQ_NOFLAGS                0x0
  36. #define PQ_RETURN_ERROR            0x1
  37.  
  38. typedef void *pq_h ;
  39. typedef void *pq_obj ;
  40.  
  41. #include "hpq.h"
  42.  
  43. #endif    /* __PQ_H */
  44.  
  45.